<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <script>
      let map = new Map();
      let data = ["Android", "Windows", "C++", "macOS", "WebRTC", "通用问题"];
      data.forEach((element, i) => {
        map.set(element, i + 1);
      });
      console.log(map);
      console.log(JSON.stringify(map));

      let map2 = new Map()
        .set("Android", 1)
        .set("Windows", 2)
        .set("C++", 3)
        .set("macOS", 4)
        .set("WebRTC", 5)
        .set("通用问题", 6);
      console.log(map2);
      console.log(JSON.stringify(map2));

      console.log(map == map2);
      console.log(JSON.stringify(map) == JSON.stringify(map2));

      var folderFilter = [
        "00_download",
        "00_run_demo",
        "01_integ_sdk",
        "00_dev_environment",
        "01_login",
        "02_achieve",
        "02_download",
        "00_call_management",
        "01_audio_management",
        "02_video_management",
        "03_intelligent_hardware",
        "05_channel_management",
        "97_api_reference",
        "00_client_api",
        "01_recording_integration",
        "00_screen_share_intergration",
        "00_push_intergration",
        "01_CDN",
        "97_FAQ",
        "00_sdk_download",
        "01_服务器音视频录制集成",
        "01_屏幕共享集成",
        "01_CDN 推流集成",
      ];
      var fff = new Set()
      for(let j in folderFilter){
          console.log(folderFilter[j],j)
      }
    </script>
  </body>
</html>
